package com.amigo.online.provider.video.util;

import org.apache.commons.lang3.RandomUtils;

/**
 * 观看每个视频的收费价格，速记返回3，4，5
 *
 * @author kml
 */
public class PricePerViewUtil {
    public static int getPrice() {
        return RandomUtils.nextInt(3, 6);
    }

    public static void main(String[] args) {
        for (int i = 0; i < 100; i++) {
            System.out.println(PricePerViewUtil.getPrice());

        }
    }
}
